const qs = require('node:querystring');
var myParse1 = (req, res, next) => {
    var str = "";
    req.on('data', (chunk) => {
        str += chunk;
    });
    req.on('end', () => {
        req.body = qs.parse(str); // {}
        next();
    });
};

module.exports = myParse1;